<script>
	export default {
		onLaunch: function() {
			let isFirstLogin = uni.getStorageSync('isFrist')
			if (isFirstLogin) {
				uni.switchTab({
					url:"pages/index/index",
					fail(error) {
						console.log(error)
					}
				})
			}
		},
		onShow: function() {
		},
		onHide: function() {
		}
	}
</script>

<style>
	/*每个页面公共css */
	page {
		min-width: 100%;
		min-height: 100%;
		font-size: 16px;
		display: flex;
	}
	
	/* page {
		min-height: 100vh;
		min-width: 100vw;
	} */
</style>
